package com.hospital.common.core.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * <p>
 * ÃÅÕïÔ¤½»½ðÁÙÊ±±í¼ÇÂ¼
 * </p>
 *
 * @author lvyao
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("OUTP_PREPAY_RCPT_TEMP")
public class OutpPrepayRcptTemp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("PATIENT_ID")
    private String patientId;

    @TableId("GUID")
    private String guid;

    @TableField("AMOUNT")
    private BigDecimal amount;

    @TableField("RETURN_AMOUNT")
    private BigDecimal returnAmount;

    @TableField("PAY_WAY")
    private String payWay;

    @TableField("TRANSACT_TYPE")
    private String transactType;

    @TableField("HIS_TRANSACT_DATE")
    private Timestamp hisTransactDate;

    @TableField("OPERATOR_NO")
    private String operatorNo;

    @TableField("ESB_TRANSACT_DATE")
    private Timestamp esbTransactDate;

    @TableField("HIS_TRAN_STATUS")
    private String hisTranStatus;

    @TableField("ESB_TRAN_STATUS")
    private String esbTranStatus;

    @TableField("TRADE_NO")
    private String tradeNo;

    @TableField("REFUND_TRADE_NO")
    private String refundTradeNo;

    @TableField("INP_OR_OUTP")
    private String inpOrOutp;

    @TableField("RCPT_NO")
    private String rcptNo;

    @TableField("REFUNDED_RCPT_NO")
    private String refundedRcptNo;

    @TableField("SETTLE_FLAG")
    private String settleFlag;

    @TableField("ORDER_NO")
    private String orderNo;

    @TableField(exist = false)
    private String billNo;

    @TableField("REFUNDED_ORDER_NO")
    private String refundedOrderNo;

    @TableField("CREATE_CHANNEL")
    private String createChannel;
}
